package utilPartTwo;

import java.util.Date;
import java.util.Locale;

public class DateDemo {
    public static void main(String[] args) {
        Date date=new Date();


        System.out.println(date);

        long msec=date.getTime();
        System.out.println("Millisenconds since Jan.1,1970 GMT= "+ msec);
    }
}
